//
//  NSString+JJStringToSize.h
//  快速创建框架
//
//  Created by My Mac on 2016/11/1.
//  Copyright © 2016年 Mac. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface NSString (JJStringToSize)
//对象方法
-(CGSize) sizeOfTextWithMaxSize:(CGSize)maxSize font:(UIFont *)font;

//类方法
+(CGSize) sizeWithText:(NSString *)text maxSize:(CGSize)maxSize font:(UIFont *)font;

@end
